package top.auntie.dao;

import java.util.List;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;
import top.auntie.bean.ReportListVO;
import top.auntie.model.OrgTypeReport;
import top.auntie.model.OrgTypeReportExample;

@Repository
public interface OrgTypeReportDao {
    long countByExample(OrgTypeReportExample example);

    int deleteByExample(OrgTypeReportExample example);

    int deleteByPrimaryKey(Integer id);

    int insert(OrgTypeReport record);

    int insertSelective(OrgTypeReport record);

    List<OrgTypeReport> selectByExample(OrgTypeReportExample example);

    OrgTypeReport selectByPrimaryKey(Integer id);

    int updateByExampleSelective(@Param("record") OrgTypeReport record, @Param("example") OrgTypeReportExample example);

    int updateByExample(@Param("record") OrgTypeReport record, @Param("example") OrgTypeReportExample example);

    int updateByPrimaryKeySelective(OrgTypeReport record);

    int updateByPrimaryKey(OrgTypeReport record);

    List<ReportListVO> queryReport();

    List<ReportListVO> queryReportByDate(@Param("date") String date);
}